// import Layout from '@/views/layout'
import LayoutChild from '@/views/IntelligentEquipment/working/layout'

export const IntelligentEquipmenTry = {
	path: 'IntelligentEquipmenTry',
	name: 'IntelligentEquipmenTry',
	component: () => import('@/views/IntelligentEquipment/index.vue'),
	// redirect: '/IntelligentEquipment',
	meta: {
		title: '试用页',
		icon: ''
	},
}

export const IntelligentEquipment = {
	path: 'IntelligentEquipment',
	name: 'aiIntelligentEquipment',
	component: LayoutChild,
	redirect: '/IntelligentEquipment/working',
	meta: {
		title: '智能装备',
		icon: ''
	},
	children: [
		{
			
			path: "working",
			name: "equipmentWorking",
			component: () => import('@/views/IntelligentEquipment/working/index.vue'),
			// component: () => import('@/views/addressList/myLinkMenber/linkMener/myLinkMenber/index.vue'),
			redirect: '/IntelligentEquipment/working/design',
			meta: {
				title: '团队管理',
				icon: ''
			},
			children:[
				{
					path: "design",
					name: "design",
					component: () => import('@/views/IntelligentEquipment/working/workingTeam/design/index.vue'), 
					meta: {
						title: '服务团队',
						icon: ''
					}
				},
				{
					path: "customer",
					name: "customer",
					component: () => import('@/views/IntelligentEquipment/working/workingTeam/customer/index.vue'), 
					meta: {
						title: '客户管理',
						icon: ''
					}
				},
				{
					path: "customerAdd",
					name: "customerAdd",
					component: () => import('@/views/IntelligentEquipment/working/workingTeam/customerAdd/index.vue'), 
					meta: {
						title: '新增',
						icon: ''
					}
				},
				{
					path: "digitalBase",
					name: "digitalBaseList",
					component: () => import('@/views/IntelligentEquipment/working/baseManagement/digitalBase/index.vue'), 
					meta: {
						title: '数字基地',
						icon: ''
					}
				},
				{
					path: "digitalAdd",
					name: "digitalAdd",
					component: () => import('@/views/IntelligentEquipment/working/baseManagement/digitalAdd/index.vue'), 
					meta: {
						title: '数字基地-物联网新增',
						icon: ''
					}
				},
				{
					path: "weather",
					name: "weather",
					component: () => import('@/views/IntelligentEquipment/working/baseManagement/weather/index.vue'), 
					meta: {
						title: '气象物联',
						icon: ''
					}
				},
				{
					path: "networkManagement",
					name: "networkManagementone",
					component: () => import('@/views/IntelligentEquipment/working/baseManagement/networkManagement/index.vue'), 
					meta: {
						title: '网卡管理',
						icon: ''
					}
				},
			]
		},
	]
}
export const IntelligentEquipment2 = {
	path: 'IntelligentEquipment',
	name: 'IntelligentEquipment',
	component: LayoutChild,
	redirect: '/IntelligentEquipment/myEquipment',
	meta: {
		title: '我的装备',
		icon: ''
	},
	children: [
		{
			
			path: "myEquipment",
			name: "myEquipment",
			component: () => import('@/views/IntelligentEquipment/myEquipment/index.vue'),
			// component: () => import('@/views/addressList/myLinkMenber/linkMener/myLinkMenber/index.vue'),
			redirect: '/IntelligentEquipment/myEquipment/digitalBase',
			meta: {
				title: '设施装备',
				icon: ''
			},
			children:[
				// 设施装备
				{
					path: "digitalBase",
					name: "digitalBase",
					component: () => import('@/views/IntelligentEquipment/myEquipment/baseManagement/digitalBase/index.vue'), 
					meta: {
						title: '数字配件',
						icon: ''
					}
				},
				{
					path: "digitalBaseAdd",
					name: "digitalBaseAdd",
					component: () => import('@/views/IntelligentEquipment/myEquipment/baseManagement/digitalBaseAdd/index.vue'), 
					meta: {
						title: '数字配件新增',
						icon: ''
					}
				},
				{
					path: "sensor",
					name: "sensor",
					component: () => import('@/views/IntelligentEquipment/myEquipment/baseManagement/sensor/index.vue'), 
					meta: {
						title: '器件设备',
						icon: ''
					}
				},
				{
					path: "sensorAdd",
					name: "sensorAdd",
					component: () => import('@/views/IntelligentEquipment/myEquipment/baseManagement/sensorAdd/index.vue'), 
					meta: {
						title: '器件设备新增',
						icon: ''
					}
				},
				{
					path: "lot",
					name: "lot",
					component: () => import('@/views/IntelligentEquipment/myEquipment/baseManagement/loT/index.vue'), 
					meta: {
						title: '图像装备',
						icon: ''
					}
				},
				{
					path: "lotAdd",
					name: "lotAdd",
					component: () => import('@/views/IntelligentEquipment/myEquipment/baseManagement/lotAdd/index.vue'), 
					meta: {
						title: '图像装备新增',
						icon: ''
					}
				},
				{
					path: "monitoring",
					name: "monitoring",
					component: () => import('@/views/IntelligentEquipment/myEquipment/baseManagement/monitoring/index.vue'), 
					meta: {
						title: '物联网装备',
						icon: ''
					}
				},
				{
					path: "monitoringAdd",
					name: "monitoringAdd",
					component: () => import('@/views/IntelligentEquipment/myEquipment/baseManagement/monitoringAdd/index.vue'), 
					meta: {
						title: '物联网装备新增',
						icon: ''
					}
				},
				// 智能程序
				{
					path: "becurrent",
					name: "becurrent",
					component: () => import('@/views/IntelligentEquipment/myEquipment/intelligentProgram/beCurrent/index.vue'), 
					meta: {
						title: '通用程序',
						icon: ''
					}
				},
				{
					path: "weather",
					name: "weather",
					component: () => import('@/views/IntelligentEquipment/myEquipment/intelligentProgram/weather/index.vue'), 
					meta: {
						title: '气象物联',
						icon: ''
					}
				},
				{
					path: "integrationofwater",
					name: "integrationofwater",
					component: () => import('@/views/IntelligentEquipment/myEquipment/intelligentProgram/integrationOfWater/index.vue'), 
					meta: {
						title: '智能水肥',
						icon: ''
					}
				},
				{
					path: "security",
					name: "security",
					component: () => import('@/views/IntelligentEquipment/myEquipment/intelligentProgram/security/index.vue'), 
					meta: {
						title: '智能安防',
						icon: ''
					}
				},
				{
					path: "agriculture",
					name: "agriculture",
					component: () => import('@/views/IntelligentEquipment/myEquipment/intelligentProgram/agriculture/index.vue'), 
					meta: {
						title: '数字农机',
						icon: ''
					}
				},
			]
		},
	]
}